package by.sjc.grsu.service;

import by.sjc.grsu.model.Account;
import by.sjc.grsu.model.Payment;
import by.sjc.grsu.model.Subscription;

import java.util.List;

public interface SubscriptionsService {
    public List<Subscription> getAccountSubscriptions(Account account);
    public void disableSubscription(int subId);
    public void subscribe(int accountId, int periodicalId, int monthCount);
    public int getSubscribeCost(int periodicalId, int monthCount);
    public void registerPayment(Payment payment);
}
